@isTest(SeeAllData=true)
private class ClockInOutControllerTest {
    static testMethod void testMethod1() {
        // ApexPages.StandardController stdcon = new ApexPages.StandardController(new Account());
        // ClockInOutController con = new ClockInOutController(stdcon);
        // con.init();
        // con.lat=10;
        // con.lng=20;
        // con.location='四川省成都市青羊区武都路1号-附14号';
        // con.click();

        ApexPages.StandardController stdcon = new ApexPages.StandardController(new Account());
        ClockInOutController con2 = new ClockInOutController(stdcon);
        con2.init();

        con2.init();
        // con2.lat=100;
        // con2.lng=200;
        // con2.location='四川省成都市青羊区武都路1号-附140号';
        // con2.click();

        ClockInOutController.setLocation(104.06792346, 30.67994285, '测试位置', '上班');
        ClockInOutController.setLocation(104.06792346, 30.67994285, '测试位置', '下班');
    }
}